'use strict';

var mongoose = require('mongoose');

var newsModel = function () {

    //Define a super simple schema for our products.
    var newsSchema = mongoose.Schema({
        userName: String,
    });

    //Verbose toString method
    newsSchema.methods.whatAmI = function () {

    };

    return mongoose.model('News', newsSchema);

};

module.exports = new newsModel();
